home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Xt / XtAppAddActionHook.z / XtAppAddActionHook
Encoding:
Text File  |  2002-10-03  |  2.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXttttAAAAppppppppAAAAddddddddAAAAccccttttiiiioooonnnnHHHHooooooookkkk((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXttttAAAAppppppppAAAAddddddddAAAAccccttttiiiioooonnnnHHHHooooooookkkk((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtAppAddActionHook, XtRemoveActionHook - register an action
  10.           hook procedure
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           XtActionHookId XtAppAddActionHook(_a_p_p__c_o_n_t_e_x_t, _p_r_o_c,
  14.           _c_l_i_e_n_t__d_a_t_a)
  15.                 XtAppContext _a_p_p__c_o_n_t_e_x_t;
  16.                 XtActionHookProc _p_r_o_c;
  17.                 XtPointer _c_l_i_e_n_t__d_a_t_a;
  18.  
  19.           void XtRemoveActionHook(_i_d_F_P)
  20.                 _X_t_A_c_t_i_o_n_H_o_o_k_I_d _i_d;
  21.  
  22.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  23.           _a_p_p__c_o_n_t_e_x_t
  24.                     Specifies the application context.
  25.  
  26.           _p_r_o_c      Specifies the action hook procedure.
  27.  
  28.           _n_u_m__a_r_g_s  Specifies the application-specific data to be
  29.                     passed to the action hook.
  30.  
  31.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  32.           _X_t_A_p_p_A_d_d_A_c_t_i_o_n_H_o_o_k adds the specified procedure to the front
  33.           of a list maintained in the application context. In the
  34.           future, when an action routine is about to be invoked for
  35.           any widget in this application context, either through the
  36.           translation manager or via _X_t_C_a_l_l_A_c_t_i_o_n_P_r_o_c, the action
  37.           hohok procedures will be called in reverse order of
  38.           registration jut prior to invoking the action routine.
  39.  
  40.           Action hook procedures are removed automatically and the
  41.           _X_t_A_c_t_i_o_n_H_o_o_k_I_d s destroyed when the application context in
  42.           which they were added is destroyed.
  43.  
  44.           _X_t_R_e_m_o_v_e_A_c_t_i_o_n_H_o_o_k removes the specified action hook
  45.           procedure from the list in which it was registered.
  46.  
  47.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  48.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  49.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.